﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace IM.Easy.GenServices.Dtos.Gen.Vue3._0
{
    /// <summary>
    /// vue index 模板 model
    /// </summary>
    public class VueIndexTemplateModel : IModel
    {
        /// <summary>
        /// 所有列
        /// </summary>
        public List<GenTableColumnDto> Columns { get; set; }

        /// <summary>
        /// 查询列
        /// </summary>
        public List<GenTableColumnDto> QueryColumns { get; set; }

        /// <summary>
        /// 编辑列
        /// </summary>
        public List<GenTableColumnDto> EditColumns { get; set; }

        /// <summary>
        /// 字典列
        /// </summary>
        public List<GenTableColumnDto> DictionaryColumns { get; set; }

        /// <summary>
        /// 主键
        /// </summary>
        public string PrimaryKey { get; set; }

        /// <summary>
        /// 实体名称
        /// </summary>
        public string EntityName { get; set; }

        /// <summary>
        /// 基础url
        /// </summary>
        public string Base { get; set; }

        /// <summary>
        /// 接口地址
        /// </summary>
        public string ApiPath { get; set; }

        /// <summary>
        /// 包含功能
        /// </summary>
        public string[] Func { get; set; }

        /// <summary>
        /// 排序字段
        /// </summary>
        public string SortField { get; set; }

        /// <summary>
        /// 排序方式
        /// </summary>
        public bool Ascending { get; set; }
    }
}
